from django.urls import path
from server import views

app_name = 'server'

urlpatterns = [
    path('', views.home, name='index'),
    path('add/', views.add_pic, name='add_a_pic'),
    path('all_visual/', views.get_pic_list, name="all_pic"),
    path('all_visual_info/', views.get_pic_info_list, name="all_pic_info"),
    path('deactivate/', views.deactivate_from_id, name="deactivate"),
    path('praise_number/', views.get_praise_number_id, name="praise_number"),
    path('praise/', views.praise_by_id, name="praise"),
    path('visual_order/', views.get_pic_list_order, name="order"),
    path('all_no_visual_info/', views.get_no_visual_pic_info_list, name="all_no_pic_info"),
    path('all_chosen/', views.get_chosen_pic_info_list, name="all_chosen"),
    path('choose_pic/', views.choose_pic_by_id, name="choose_pic"),
    path('cancel_choose_pic/', views.cancel_choose_pic_by_id, name="cancel_choose_pic"),
    path('get_true_path/', views.get_true_path_by_id, name="get_true_path_by_id"),
    path('get_number_pics/', views.get_number_pic, name='number_pics'),
    path('get_pali_paths/', views.get_pali_paths, name='get_pali_paths'),
    path('upload/', views.upload_pic, name='upload'),
    path('get_carousel/', views.carousel, name='get_carousel'),
    path('water_pics/', views.water_pics, name='waterfall'),
    path('resurgence/', views.pic_resurgence, name='resurgence'),
    path('invisible_water_pics/', views.invisible_water_pics, name='invisible_water_pics'),
    path('get_r12_pics/', views.get_r12_pic_info_list, name='get_r12_pic_info_list'),
    path('get_abracadabra_list/', views.get_abracadabra_list, name='get_abracadabra_list'),
    path('update_pic_to_r12/', views.update_pic_to_r12, name='update_pic_to_r12'),
    path('search_tag/', views.search_tag, name='search_tag'),
    path('search_tag_candidate/', views.search_tag_candidate, name='search_tag_candidate'),
    path('get_hot_tag/', views.get_hot_tag, name='get_hot_tag'),
    path('search_multi_tag/', views.search_multi_tag, name='search_multi_tag'),
    path('get_random_tag/', views.get_random_tag, name='get_random_tag'),
    path('upload_from_server/', views.upload_from_server, name='from_server'),
    path('get_message/', views.get_message, name='get_message'),
    path('send_message/', views.send_message, name='send_message'),
    path('get_waited_review_pics_info/', views.get_waited_review_pics_info, name='get_waited_review_pics_info'),
    path('pass_pic_by_id/', views.pass_pic_by_id, name='pass_pic_by_id'),
    path('delete_pic_by_id/', views.delete_pic_by_id, name='delete_pic_by_id'),
    path('chat_gpt_v1/', views.chat_gpt_v1, name='chat_gpt_v1'),
]
